package com.sy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author maojq
 * @date 2020/11/26 0026 17:00
 */
@SpringBootApplication
@Transactional  //开启事务
@EnableDiscoveryClient //开启服务注册
@MapperScan(basePackages = "com.apex.dao")
public class NetworkServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(NetworkServerApplication.class, args);
    }
}
